//
//  NYRecommendViewModel.h
//  Nooryes
//
//  Created by baken on 2020/2/22.
//  Copyright © 2020 MyApp. All rights reserved.
//

#import "BaseViewModel.h"
@class ArticleDetailModel,MiniAdModel;
NS_ASSUME_NONNULL_BEGIN

@interface NYRecommendViewModel : BaseViewModel

@property (nonatomic, strong) NSString *topicID;

@property (nonatomic, strong) NSString *articleID;

@property (nonatomic, strong) NSString *title;

@property (nonatomic, strong) NSString *content;

@property (nonatomic, strong) NSString *commentid;

@property (nonatomic, assign) float commentHeight;

@property (nonatomic, strong) ArticleDetailModel *articleDetail;

@property (nonatomic, strong) NSMutableArray *slideArray;

@property (nonatomic, strong) NSMutableArray *slideImageArray;

@property (nonatomic, strong) NSMutableArray *topicArray;

@property (nonatomic, strong) NSMutableArray *commentsArray;

@property (nonatomic, strong) NSString *type;

@property (nonatomic, strong) NSString *dataID;

@property (nonatomic, strong) MiniAdModel *miniAD;


- (void)getMiniAdWithCompletionHandle:(CompletionHandle)complete;

- (void) getRecommendSlideWithCompletionHandle:(CompletionHandle)complete;

- (void) getRecommendCategoryWithCompletionHandle:(CompletionHandle)complete;

- (void) getRecommendListWithCompletionHandle:(CompletionHandle)complete;

- (void) getArticleDetailWithCompletionHandle:(CompletionHandle)complete;

- (void)postCommentWithCompletionHandle:(CompletionHandle)complete;

- (void)replyCommentWithCompletionHandle:(CompletionHandle)complete;

- (void)refreshCommentsCompletionHandle:(CompletionHandle)completionHandle;

- (void)getMoreCommentsCompletionHandle:(CompletionHandle)completionHandle;

//@property (nonatomic, strong) NSString *topicID;
//
//@property (nonatomic, strong) NSString *topicID;

- (void)collectArticleWithCompletionHandle:(CompletionHandle)complete;

- (void)likeArticleWithCompletionHandle:(CompletionHandle)complete;

@end

NS_ASSUME_NONNULL_END
